Optimal. Leaf size=236 \[ -\frac {8 b x \sqrt {-1+c x} \sqrt {1+c x}}{15 c^5 \sqrt {d-c^2 d x^2}}-\frac {4 b x^3 \sqrt {-1+c x} \sqrt {1+c x}}{45 c^3 \sqrt {d-c^2 d x^2}}-\frac {b x^5 \sqrt {-1+c x} \sqrt {1+c x}}{25 c \sqrt {d-c^2 d x^2}}-\frac {8 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{15 c^6 d}-\frac {4 x^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{15 c^4 d}-\frac {x^4 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{5 c^2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.20, antiderivative size = 236, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 4, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {5938, 5914, 8,
30} \begin {gather*} -\frac {x^4 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{5 c^2 d}-\frac {8 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{15 c^6 d}-\frac {4 x^2 \sqrt {d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )}{15 c^4 d}-\frac {b x^5 \sqrt {c x-1} \sqrt {c x+1}}{25 c \sqrt {d-c^2 d x^2}}-\frac {8 b x \sqrt {c x-1} \sqrt {c x+1}}{15 c^5 \sqrt {d-c^2 d x^2}}-\frac {4 b x^3 \sqrt {c x-1} \sqrt {c x+1}}{45 c^3 \sqrt {d-c^2 d x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 30
Rule 5914
Rule 5938
Rubi steps
\begin {align*} \int \frac {x^5 \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt {d-c^2 d x^2}} \, dx &=\frac {\left (\sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {x^5 \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{\sqrt {d-c^2 d x^2}}\\ &=-\frac {x^4 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{5 c^2 \sqrt {d-c^2 d x^2}}+\frac {\left (4 \sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {x^3 \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{5 c^2 \sqrt {d-c^2 d x^2}}-\frac {\left (b \sqrt {-1+c x} \sqrt {1+c x}\right ) \int x^4 \, dx}{5 c \sqrt {d-c^2 d x^2}}\\ &=-\frac {b x^5 \sqrt {-1+c x} \sqrt {1+c x}}{25 c \sqrt {d-c^2 d x^2}}-\frac {4 x^2 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{15 c^4 \sqrt {d-c^2 d x^2}}-\frac {x^4 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{5 c^2 \sqrt {d-c^2 d x^2}}+\frac {\left (8 \sqrt {-1+c x} \sqrt {1+c x}\right ) \int \frac {x \left (a+b \cosh ^{-1}(c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx}{15 c^4 \sqrt {d-c^2 d x^2}}-\frac {\left (4 b \sqrt {-1+c x} \sqrt {1+c x}\right ) \int x^2 \, dx}{15 c^3 \sqrt {d-c^2 d x^2}}\\ &=-\frac {4 b x^3 \sqrt {-1+c x} \sqrt {1+c x}}{45 c^3 \sqrt {d-c^2 d x^2}}-\frac {b x^5 \sqrt {-1+c x} \sqrt {1+c x}}{25 c \sqrt {d-c^2 d x^2}}-\frac {8 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{15 c^6 \sqrt {d-c^2 d x^2}}-\frac {4 x^2 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{15 c^4 \sqrt {d-c^2 d x^2}}-\frac {x^4 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{5 c^2 \sqrt {d-c^2 d x^2}}-\frac {\left (8 b \sqrt {-1+c x} \sqrt {1+c x}\right ) \int 1 \, dx}{15 c^5 \sqrt {d-c^2 d x^2}}\\ &=-\frac {8 b x \sqrt {-1+c x} \sqrt {1+c x}}{15 c^5 \sqrt {d-c^2 d x^2}}-\frac {4 b x^3 \sqrt {-1+c x} \sqrt {1+c x}}{45 c^3 \sqrt {d-c^2 d x^2}}-\frac {b x^5 \sqrt {-1+c x} \sqrt {1+c x}}{25 c \sqrt {d-c^2 d x^2}}-\frac {8 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{15 c^6 \sqrt {d-c^2 d x^2}}-\frac {4 x^2 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{15 c^4 \sqrt {d-c^2 d x^2}}-\frac {x^4 (1-c x) (1+c x) \left (a+b \cosh ^{-1}(c x)\right )}{5 c^2 \sqrt {d-c^2 d x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.16, size = 140, normalized size = 0.59 \begin {gather*} \frac {\sqrt {d-c^2 d x^2} \left (b c x \sqrt {-1+c x} \sqrt {1+c x} \left (120+20 c^2 x^2+9 c^4 x^4\right )-15 a \left (-8+4 c^2 x^2+c^4 x^4+3 c^6 x^6\right )-15 b \left (-8+4 c^2 x^2+c^4 x^4+3 c^6 x^6\right ) \cosh ^{-1}(c x)\right )}{225 c^6 d (-1+c x) (1+c x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(669\) vs.
\(2(200)=400\).
time = 6.72, size = 670, normalized size = 2.84
method | result | size |
default | \(a \left (-\frac {x^{4} \sqrt {-c^{2} d \,x^{2}+d}}{5 c^{2} d}+\frac {-\frac {4 x^{2} \sqrt {-c^{2} d \,x^{2}+d}}{15 c^{2} d}-\frac {8 \sqrt {-c^{2} d \,x^{2}+d}}{15 d \,c^{4}}}{c^{2}}\right )+b \left (-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (16 x^{6} c^{6}-28 c^{4} x^{4}+16 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{5} c^{5}+13 c^{2} x^{2}-20 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{3} c^{3}+5 \sqrt {c x +1}\, \sqrt {c x -1}\, x c -1\right ) \left (-1+5 \,\mathrm {arccosh}\left (c x \right )\right )}{800 c^{6} d \left (c^{2} x^{2}-1\right )}-\frac {5 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (4 c^{4} x^{4}-5 c^{2} x^{2}+4 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{3} c^{3}-3 \sqrt {c x +1}\, \sqrt {c x -1}\, x c +1\right ) \left (-1+3 \,\mathrm {arccosh}\left (c x \right )\right )}{288 c^{6} d \left (c^{2} x^{2}-1\right )}-\frac {5 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (\sqrt {c x +1}\, \sqrt {c x -1}\, x c +c^{2} x^{2}-1\right ) \left (-1+\mathrm {arccosh}\left (c x \right )\right )}{16 c^{6} d \left (c^{2} x^{2}-1\right )}-\frac {5 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-\sqrt {c x +1}\, \sqrt {c x -1}\, x c +c^{2} x^{2}-1\right ) \left (1+\mathrm {arccosh}\left (c x \right )\right )}{16 c^{6} d \left (c^{2} x^{2}-1\right )}-\frac {5 \sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-4 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{3} c^{3}+4 c^{4} x^{4}+3 \sqrt {c x +1}\, \sqrt {c x -1}\, x c -5 c^{2} x^{2}+1\right ) \left (1+3 \,\mathrm {arccosh}\left (c x \right )\right )}{288 c^{6} d \left (c^{2} x^{2}-1\right )}-\frac {\sqrt {-d \left (c^{2} x^{2}-1\right )}\, \left (-16 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{5} c^{5}+16 x^{6} c^{6}+20 \sqrt {c x +1}\, \sqrt {c x -1}\, x^{3} c^{3}-28 c^{4} x^{4}-5 \sqrt {c x +1}\, \sqrt {c x -1}\, x c +13 c^{2} x^{2}-1\right ) \left (1+5 \,\mathrm {arccosh}\left (c x \right )\right )}{800 c^{6} d \left (c^{2} x^{2}-1\right )}\right )\) | \(670\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.48, size = 195, normalized size = 0.83 \begin {gather*} -\frac {1}{15} \, {\left (\frac {3 \, \sqrt {-c^{2} d x^{2} + d} x^{4}}{c^{2} d} + \frac {4 \, \sqrt {-c^{2} d x^{2} + d} x^{2}}{c^{4} d} + \frac {8 \, \sqrt {-c^{2} d x^{2} + d}}{c^{6} d}\right )} b \operatorname {arcosh}\left (c x\right ) - \frac {1}{15} \, {\left (\frac {3 \, \sqrt {-c^{2} d x^{2} + d} x^{4}}{c^{2} d} + \frac {4 \, \sqrt {-c^{2} d x^{2} + d} x^{2}}{c^{4} d} + \frac {8 \, \sqrt {-c^{2} d x^{2} + d}}{c^{6} d}\right )} a + \frac {{\left (9 \, c^{4} \sqrt {-d} x^{5} + 20 \, c^{2} \sqrt {-d} x^{3} + 120 \, \sqrt {-d} x\right )} b}{225 \, c^{5} d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.40, size = 176, normalized size = 0.75 \begin {gather*} -\frac {15 \, {\left (3 \, b c^{6} x^{6} + b c^{4} x^{4} + 4 \, b c^{2} x^{2} - 8 \, b\right )} \sqrt {-c^{2} d x^{2} + d} \log \left (c x + \sqrt {c^{2} x^{2} - 1}\right ) - {\left (9 \, b c^{5} x^{5} + 20 \, b c^{3} x^{3} + 120 \, b c x\right )} \sqrt {-c^{2} d x^{2} + d} \sqrt {c^{2} x^{2} - 1} + 15 \, {\left (3 \, a c^{6} x^{6} + a c^{4} x^{4} + 4 \, a c^{2} x^{2} - 8 \, a\right )} \sqrt {-c^{2} d x^{2} + d}}{225 \, {\left (c^{8} d x^{2} - c^{6} d\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{5} \left (a + b \operatorname {acosh}{\left (c x \right )}\right )}{\sqrt {- d \left (c x - 1\right ) \left (c x + 1\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {x^5\,\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )}{\sqrt {d-c^2\,d\,x^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________